df[0:2]
 
#         A          B
# ---------  ---------
# -0.613035  -0.425327
# -1.265520  -0.241526
#  0.763851   0.039161
# -1.248425   0.912686
#  2.105805  -1.839950
#  1.763502   0.573736
# -0.781973   0.051883
#  1.400853   1.919987
# -0.746025  -0.632182
# -1.120648   0.374212
# 
# [100 rows x 2 columns]